package com.qf.mybatis.dao;

import org.junit.Test;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class BookRandom {
    @Test
    public void BookRandomTest() throws IOException {
        BufferedWriter bw = new BufferedWriter(new FileWriter("D:/1.txt",true));
        for (int i = 0; i < 500000; i++){
            String bk = i+1+","+"java"+i+","+"html"+i+","+"mybatis"+","+1;
            bw.write(bk);
            bw.newLine();
        }
        bw.close();
    }
}
